package cn.com.sise.service;

import cn.com.sise.pojo.Dictionary;
import cn.com.sise.pojo.Resources;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FavoritesService {
    String insertFavoritesDictionary(Integer dictionaryId, Integer userId);

    String insertFavoritesResources(Integer resourceId, Integer userId);

    String deleteFavoritesDictionary(Integer dictionaryId);

    String deleteFavoritesResources(Integer resourceId);

    List<Dictionary> selectDictionaryByUserId(int user_id);

    List<Resources> selectResourceByUserId(int user_id);

}
